package com.pearl.generator.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pearl.generator.pojo.entity.BaseEntity;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * POJO 配置
 * </p>
 *
 * @author TangDan
 * @since 2022-08-09 13:45:46
 */
@Getter
@Setter
@TableName("pearl_generator_pojo_config")
@ApiModel(value = "GeneratorPojoConfig对象", description = "POJO 配置")
public class GeneratorPojoConfig extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("开启对象映射MapStruct")
    private Integer enableMapStruct;

    @ApiModelProperty("禁用生成 serialVersionUID，默认值:true")
    private Integer disableSerialVersionUid;

    @ApiModelProperty("开启 Boolean 类型字段移除 is 前缀,默认值:false")
    private Integer enableRemoveIsPrefix;

    @ApiModelProperty("日期类")
    private String dateType;

    @ApiModelProperty("日期格式化注解")
    private String dateJsonFormat;

    @ApiModelProperty("包名")
    private String packageName;

    @ApiModelProperty("文件名")
    private String fileName;

    @ApiModelProperty("模块名")
    private String moduleName;

    @ApiModelProperty("开启VO")
    private Integer enableVo;

    @ApiModelProperty("开启DTO")
    private Integer enableDto;

    @ApiModelProperty("开启Request")
    private Integer enableRequest;

    @ApiModelProperty("Query父类，比如分页参数")
    private String querySuperClass;

    @ApiModelProperty("开启Query")
    private Integer enableQuery;

    @ApiModelProperty("开启Form")
    private Integer enableForm;

    @ApiModelProperty("开启BO")
    private Integer enableBo;

    @ApiModelProperty("自定义配置")
    private String customPojo;
}
